package edu.mbi.ucla.pdbsearch.parser.testng;

import org.testng.annotations.*;

import java.io.FileReader;
import java.io.FileNotFoundException;

import edu.mbi.ucla.pdbsearch.parser.AbstractFileParser;
import edu.mbi.ucla.pdbsearch.parser.FileParser;
import edu.mbi.ucla.pdbsearch.parser.ParserException;

/**
 * User: Jason Nerothin (jasonnerothin at gmail dot com)
 * Date: Nov 7, 2006
 * Time: 8:37:43 AM
 */
public class ParseFile {

    @Test( groups = { "parser" } )
    public void testParser(String filename) throws FileNotFoundException, ParserException {
        AbstractFileParser parser = new FileParser();
        parser.parse(new FileReader(filename));
    }

}
